package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 运费对象 tb_freight
 * 
 * @author ruoyi
 * @date 2024-04-07
 */
public class TbFreight extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 限定值 */
    @Excel(name = "限定值")
    private String limit;

    /** 高于限定值费用 */
    @Excel(name = "高于限定值费用")
    private String highLimit;

    /** 低于限定值费用 */
    @Excel(name = "低于限定值费用")
    private String lowLimit;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLimit(String limit) 
    {
        this.limit = limit;
    }

    public String getLimit() 
    {
        return limit;
    }
    public void setHighLimit(String highLimit) 
    {
        this.highLimit = highLimit;
    }

    public String getHighLimit() 
    {
        return highLimit;
    }
    public void setLowLimit(String lowLimit) 
    {
        this.lowLimit = lowLimit;
    }

    public String getLowLimit() 
    {
        return lowLimit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("limit", getLimit())
            .append("highLimit", getHighLimit())
            .append("lowLimit", getLowLimit())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
